//
//  BaseViewController.h
//  ZHLY
//
//  Created by inphase on 16/11/18.
//  Copyright © 2016年 inphase. All rights reserved.
//

#import <UIKit/UIKit.h>



#import <SVProgressHUD/SVProgressHUD.h>
#import <MBProgressHUD.h>


@protocol BaseViewControllerProtocol <NSObject>

+(instancetype) controller;
@optional
+(instancetype) controllerInStoryboard:(NSString*) storyboardName;

@end

@interface BaseViewController : UIViewController<BaseViewControllerProtocol>
@property (nonatomic,assign) BOOL navigationBarHiddenStatus;

- (void)orientationToPortrait:(UIInterfaceOrientation)orientation ;

- (void)showMessage:(NSString *)message;

- (void)showHUD;

- (void)hiddenHUD;

- (void)showMBProgress;
- (void)hideMBProgress;



@end
